﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HHMMS.Core.Model
{
    [Serializable]
    public class PartsDiscardRecord
    {		

        /// <summary>
        /// 单据ID
        /// </summary>
        public Int32? Id { get; set; }

        /// <summary>
        /// 单据名称
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// 单据状态：1草稿 2审批中 3审批完毕 4作废
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String Creator { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 关联流程实例
        /// </summary>
        public String WFInstanceId { get; set; }

        /// <summary>
        /// 配件名称
        /// </summary>
        public String PartName { get; set; }

        /// <summary>
        /// 配件型号规格
        /// </summary>
        public String PartModel { get; set; }

        /// <summary>
        /// 报废数量
        /// </summary>
        public Int32? Count { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public Decimal? Price { get; set; }

        /// <summary>
        /// 配件编号
        /// </summary>
        public String PartNo { get; set; }

        /// <summary>
        /// 剩余备品数量
        /// </summary>
        public Int32? RemainCount { get; set; }

        /// <summary>
        /// 报废原因
        /// </summary>
        public String DiscardReason { get; set; }

        /// <summary>
        /// 参加鉴定人员
        /// </summary>
        public String AppraiseUsers { get; set; }

        /// <summary>
        /// 审批人
        /// </summary>
        public String ApprovalUserId { get; set; }

        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime? ApprovalTime { get; set; }
    }
}